package com.itheima.exception;

public class BusinessException extends RuntimeException{
    private Integer code;

    public BusinessException(Integer code , String message) {
        super(message);
        this.code = code;
    }

    public BusinessException(Integer code , Throwable cause, String message) {
        super(message, cause);
        this.code = code;
    }
}
